<?php

class Welcome extends CI_Controller {

	public function index()
	{
		if (!$this->session->userdata('session_loggedin')) {
			redirect('user/login');
		}
		
		$data['title'] = 'Welcome';
		$data['content'] = 'welcome';
		
		$this->load->view('template', $data);
	}
}